﻿<%@ Page Language="C#"  MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SeaBattle.UI.Web.Models.LogOnModel>" %>
<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Sea battle. Log on
</asp:Content>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">     
    <div id="logon-panel">
    <p>Welcome cap!</p>
     <% using(Html.BeginForm()) { %>
     <%: Html.ValidationSummary() %>
     <div class="input-label">
      <%: Html.LabelFor(x=>x.Login) %>
     </div>
     <div class="input-box">
     <%: Html.TextBoxFor(x=>x.Login) %>
     </div>
     <div class="input-label">
      <%: Html.LabelFor(x=>x.Password) %>
     </div>
     <div class="input-box">
     <%: Html.PasswordFor(x=>x.Password) %>
     </div>
     <input type="submit" value="Enter room" />

     <%} %>
    </div>    
</asp:Content>
